/* boris*/
#include "libBigNum.h"

big_integer big_integer::operator % (const big_integer &param)
{
   big_integer b_bi;
   big_integer bn=*this,pr=param;
   big_number a,b,c,temp;
   a=bn.toBigNumber()/pr.toBigNumber();
   b_bi=a.toBigInteger();
   a=b_bi.toBigNumber();
   b=pr.toBigNumber();
   c=bn.toBigNumber();
  temp=c-a*b;
  return temp.toBigInteger();
}

	big_number big_number:: ABS(const big_number &param) const
	{
		big_number temp;
		temp=param;
		temp._sign=true;
		return temp;	
	}